package com.qf.xiaomi.dao;

import com.qf.xiaomi.pojo.TbAddress;
import com.qf.xiaomi.pojo.TbOrder;
import com.qf.xiaomi.pojo.TbOrderdetail;

import java.util.List;

/**
 * Created by 田贵宾 on 2022/8/20 9:48
 *
 * @author 田贵宾
 * @version 1.0
 * //TODO java练习阶段
 * @since 1.0
 */
public interface orderDao {
   public List<TbOrder> selectAll(long uid);

    void createOrder(String oid, long aid, long uid, long sum);

    void orderDetail(String oid, Long kzid, long num, long l);

    List<TbOrder> selectOrderByUid(long uid);

    void updateStatus(String oid, String s);

    TbOrder findByOid(String oid);

 List<TbOrderdetail> fingByOid(String oid);
}
